  /**
   * Generate time : 2016-04-06 13:48:51
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.cg.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCGContactreceive 
 * table comment : 业务联系单接收记录 
 */
public class ZMCGContactReceive extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdContactlistId = " ";		/* 联系单ID*/
	private String fdReceiveId = " ";		/* 接收ID*/
	private String fdReceiveName = " ";		/* 接收名称*/
	private String fdFlag = "0";		/* 类型*/
	private String fdStatus = "未反馈";		/* 状态*/
	
	private String fdTitle = " ";		/* 标题*/
	private String fdTitle1 = " ";		/* 标题*/
	private String fdSendDepartId = " ";		/* 发送部门id*/
	private String fdSendDepartId1 = " ";		/* 发送部门id*/
	private String fdSendPerson = " ";		/* 发送人*/
	private String fdSendPerson1 = " ";		/* 发送人*/
	private String fdContent = " ";	    /* 内容*/
	private String fdSendTime = " ";		/* 发送时间*/
	private String fdSendTime1 = " ";		/* 发送时间*/
	private String fdFeedbackDepart = " ";		/* 反馈部门*/
	private String fdFeedbackPerson = " ";		/* 反馈人*/
	private String fdFeedbackContent = " ";		/* 反馈内容*/
	private String fdFeedbackTime = " ";	  /* 反馈时间*/
	private String fdFeedbackPer = " ";      /*反馈人1*/ 
	private String fdFeedbackTim = " ";      /*反馈时间 1*/
	private String fdFeedbackCon  = " ";     /*反馈内容 1*/
	private String fdMiningId  = " ";     /*矿井id*/
	public String getFdFeedbackDepartId() {
		return fdFeedbackDepartId;
	}
	public void setFdFeedbackDepartId(String fdFeedbackDepartId) {
		this.fdFeedbackDepartId = fdFeedbackDepartId;
	}

	private String  fdFeedbackDepartId = "";
	
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdContactlistId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("联系单ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdReceiveId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("接收ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdReceiveName");
	eiColumn.setFieldLength(30);	
	eiColumn.setDescName("接收名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFlag");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("类型");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdStatus");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("状态");
	eiMetadata.addMeta(eiColumn);
	eiColumn = new EiColumn("fdTitle");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("通知标题");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdTitle1");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("通知标题");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSendDepartId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("发送单位ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSendDepartId1");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("发送单位ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSendPerson");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("发送人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSendPerson1");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("发送人");
	eiMetadata.addMeta(eiColumn);

	eiColumn = new EiColumn("fdContent");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("工程内容");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSendTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("发送时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSendTime1");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("发送时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFeedbackDepart");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("反馈单位");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFeedbackPerson");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("反馈发送人");
	eiMetadata.addMeta(eiColumn);	
	
	eiColumn = new EiColumn("fdFeedbackContent");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("反馈工程内容");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFeedbackTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("反馈时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFeedbackDepartId");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("反馈单位");
	eiMetadata.addMeta(eiColumn);

/** --------	*/ 
	eiColumn = new EiColumn("fdFeedbackPer");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("反馈人1");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFeedbackTim");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("反馈时间 1");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFeedbackCon");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("反馈内容 1");
	eiMetadata.addMeta(eiColumn);

	eiColumn = new EiColumn("fdMiningId");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("矿井id");
	eiMetadata.addMeta(eiColumn);
	}
	/**
	 * the constructor
	 */
	public ZMCGContactReceive() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdContactlistId - 联系单ID
	 * @return the fdContactlistId
	 */
	public String getFdContactlistId() {
		return this.fdContactlistId;
	}
	
	/**
	 * set the fdContactlistId - 联系单ID
	 */
	public void setFdContactlistId(String fdContactlistId) {
		this.fdContactlistId = fdContactlistId;
	}
	/**
	 * get the fdReceiveId - 接收ID
	 * @return the fdReceiveId
	 */
	public String getFdReceiveId() {
		return this.fdReceiveId;
	}
	
	/**
	 * set the fdReceiveId - 接收ID
	 */
	public void setFdReceiveId(String fdReceiveId) {
		this.fdReceiveId = fdReceiveId;
	}
	/**
	 * get the fdReceiveName - 接收名称
	 * @return the fdReceiveName
	 */
	public String getFdReceiveName() {
		return this.fdReceiveName;
	}
	
	/**
	 * set the fdReceiveName - 接收名称
	 */
	public void setFdReceiveName(String fdReceiveName) {
		this.fdReceiveName = fdReceiveName;
	}
	/**
	 * get the fdFlag - 类型
	 * @return the fdFlag
	 */
	public String getFdFlag() {
		return this.fdFlag;
	}
	
	/**
	 * set the fdFlag - 类型
	 */
	public void setFdFlag(String fdFlag) {
		this.fdFlag = fdFlag;
	}
	/**
	 * get the fdStatus - 状态
	 * @return the fdStatus
	 */
	public String getFdStatus() {
		return this.fdStatus;
	}
	
	/**
	 * set the fdStatus - 状态
	 */
	public void setFdStatus(String fdStatus) {
		this.fdStatus = fdStatus;
	}
	public String getFdTitle() {
		return fdTitle;
	}
	public void setFdTitle(String fdTitle) {
		this.fdTitle = fdTitle;
	}
	
	public String getFdTitle1() {
		return fdTitle1;
	}
	public void setFdTitle1(String fdTitle1) {
		this.fdTitle1 = fdTitle1;
	}
	
	public String getFdSendDepartId() {
		return fdSendDepartId;
	}
	public void setFdSendDepartId(String fdSendDepartId) {
		this.fdSendDepartId = fdSendDepartId;
	}
	
	public String getFdSendDepartId1() {
		return fdSendDepartId1;
	}
	public void setFdSendDepartId1(String fdSendDepartId1) {
		this.fdSendDepartId1 = fdSendDepartId1;
	}
	
	public String getFdSendPerson() {
		return fdSendPerson;
	}
	public void setFdSendPerson(String fdSendPerson) {
		this.fdSendPerson = fdSendPerson;
	}
	
	public String getFdSendPerson1() {
		return fdSendPerson1;
	}
	public void setFdSendPerson1(String fdSendPerson1) {
		this.fdSendPerson1 = fdSendPerson1;
	}
	
	public String getFdContent() {
		return fdContent;
	}
	public void setFdContent(String fdContent) {
		this.fdContent = fdContent;
	}
	public String getFdSendTime() {
		return fdSendTime;
	}
	public void setFdSendTime(String fdSendTime) {
		this.fdSendTime = fdSendTime;
	}
	
	public String getFdSendTime1() {
		return fdSendTime1;
	}
	public void setFdSendTime1(String fdSendTime1) {
		this.fdSendTime1 = fdSendTime1;
	}
	
	public String getFdFeedbackDepart() {
		return fdFeedbackDepart;
	}
	public void setFdFeedbackDepart(String fdFeedbackDepart) {
		this.fdFeedbackDepart = fdFeedbackDepart;
	}
	public String getFdFeedbackPerson() {
		return fdFeedbackPerson;
	}
	public void setFdFeedbackPerson(String fdFeedbackPerson) {
		this.fdFeedbackPerson = fdFeedbackPerson;
	}
	public String getFdFeedbackContent() {
		return fdFeedbackContent;
	}
	public void setFdFeedbackContent(String fdFeedbackContent) {
		this.fdFeedbackContent = fdFeedbackContent;
	}
	public String getFdFeedbackTime() {
		return fdFeedbackTime;
	}
	public void setFdFeedbackTime(String fdFeedbackTime) {
		this.fdFeedbackTime = fdFeedbackTime;
	}
	
	
/** ***** */
	/**
	 * get the fdFeedbackPer - 反馈人1
	 * @return the fdFeedbackPer
	 */
	public String getFdFeedbackPer() {
		return this.fdFeedbackPer;
	}
	
	/**
	 * set the fdFeedbackPer - 反馈人1
	 */
	public void setFdFeedbackPer(String fdFeedbackPer) {
		this.fdFeedbackPer = fdFeedbackPer;
	}
	
	/**
	 * get the fdFeedbackTim - 反馈时间1
	 * @return the fdFeedbackTim
	 */
	public String getFdFeedbackTim() {
		return this.fdFeedbackTim;
	}
	
	/**
	 * set the fdFeedbackTim - 反馈时间1
	 */
	public void setFdFeedbackTim(String fdFeedbackTim) {
		this.fdFeedbackTim = fdFeedbackTim;
	}
	
	/**
	 * get the fdFeedbackCon - 反馈内容1
	 * @return the fdFeedbackCon
	 */
	public String getFdFeedbackCon() {
		return this.fdFeedbackCon;
	}
	
	/**
	 * set the fdFeedbackCon - 反馈内容1
	 */
	public void setFdFeedbackCon(String fdFeedbackCon) {
		this.fdFeedbackCon = fdFeedbackCon;
	}
	
	/**
	 * get the fdMiningId - 矿井id
	 * @return the fdMiningId
	 */
	public String getFdMiningId() {
		return this.fdMiningId;
	}
	
	/**
	 * set the fdMiningId - 矿井id
	 */
	public void setFdMiningId(String fdMiningId) {
		this.fdMiningId = fdMiningId;
	}
	/** ***** */	
	
	
	
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdContactlistId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdContactlistId")), fdContactlistId));
		setFdReceiveId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdReceiveId")), fdReceiveId));
		setFdReceiveName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdReceiveName")), fdReceiveName));
		setFdFlag(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFlag")), fdFlag));
		setFdStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdStatus")), fdStatus));
		
		setFdTitle(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTitle")), fdTitle));
		setFdSendDepartId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSendDepartId")), fdSendDepartId));
		setFdSendPerson(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSendPerson")), fdSendPerson));
		setFdContent(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdContent")), fdContent));
		setFdSendTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSendTime")), fdSendTime));
		setFdFeedbackDepart(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFeedbackDepart")), fdFeedbackDepart));
		setFdFeedbackPerson(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFeedbackPerson")), fdFeedbackPerson));
		setFdFeedbackContent(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFeedbackContent")), fdFeedbackContent));
		setFdFeedbackTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFeedbackTime")), fdFeedbackTime));
		setFdFeedbackDepartId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFeedbackDepartId")), fdFeedbackDepartId));
		
		/** ****** */
		setFdFeedbackPer(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFeedbackPer")), fdFeedbackPer));
		setFdFeedbackTim(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFeedbackTim")), fdFeedbackTim));
		setFdFeedbackCon(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFeedbackCon")), fdFeedbackCon));
		
		setFdTitle1(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTitle1")), fdTitle1));
		setFdSendDepartId1(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSendDepartId1")), fdSendDepartId1));
		setFdSendPerson1(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSendPerson1")), fdSendPerson1));
		setFdSendTime1(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSendTime1")), fdSendTime1));
		setFdMiningId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMiningId")), fdMiningId));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdContactlistId",StringUtils.toString(fdContactlistId, eiMetadata.getMeta("fdContactlistId")));	
			map.put("fdReceiveId",StringUtils.toString(fdReceiveId, eiMetadata.getMeta("fdReceiveId")));	
			map.put("fdReceiveName",StringUtils.toString(fdReceiveName, eiMetadata.getMeta("fdReceiveName")));	
			map.put("fdFlag",StringUtils.toString(fdFlag, eiMetadata.getMeta("fdFlag")));	
			map.put("fdStatus",StringUtils.toString(fdStatus, eiMetadata.getMeta("fdStatus")));	
			
			map.put("fdTitle",StringUtils.toString(fdTitle, eiMetadata.getMeta("fdTitle")));	
			map.put("fdSendDepartId",StringUtils.toString(fdSendDepartId, eiMetadata.getMeta("fdSendDepartId")));	
			map.put("fdSendPerson",StringUtils.toString(fdSendPerson, eiMetadata.getMeta("fdSendPerson")));	
			map.put("fdContent",StringUtils.toString(fdContent, eiMetadata.getMeta("fdContent")));	
			map.put("fdSendTime",StringUtils.toString(fdSendTime, eiMetadata.getMeta("fdSendTime")));	
			map.put("fdFeedbackDepart",StringUtils.toString(fdFeedbackDepart, eiMetadata.getMeta("fdFeedbackDepart")));	
			map.put("fdFeedbackPerson",StringUtils.toString(fdFeedbackPerson, eiMetadata.getMeta("fdFeedbackPerson")));	
			map.put("fdFeedbackContent",StringUtils.toString(fdFeedbackContent, eiMetadata.getMeta("fdFeedbackContent")));	
			map.put("fdFeedbackTime",StringUtils.toString(fdFeedbackTime, eiMetadata.getMeta("fdFeedbackTime")));
			map.put("fdFeedbackDepartId",StringUtils.toString(fdFeedbackDepartId, eiMetadata.getMeta("fdFeedbackDepartId")));
	
			/** ****** */
			map.put("fdFeedbackPer",StringUtils.toString(fdFeedbackPer, eiMetadata.getMeta("fdFeedbackPer")));
			map.put("fdFeedbackTim",StringUtils.toString(fdFeedbackTim, eiMetadata.getMeta("fdFeedbackTim")));
			map.put("fdFeedbackCon",StringUtils.toString(fdFeedbackCon, eiMetadata.getMeta("fdFeedbackCon")));
			
			map.put("fdTitle1",StringUtils.toString(fdTitle1, eiMetadata.getMeta("fdTitle1")));	
			map.put("fdSendDepartId1",StringUtils.toString(fdSendDepartId1, eiMetadata.getMeta("fdSendDepartId1")));	
			map.put("fdSendPerson1",StringUtils.toString(fdSendPerson1, eiMetadata.getMeta("fdSendPerson1")));	
			map.put("fdSendTime1",StringUtils.toString(fdSendTime1, eiMetadata.getMeta("fdSendTime1")));
			map.put("fdMiningId",StringUtils.toString(fdMiningId, eiMetadata.getMeta("fdMiningId")));
			
		return map;
	
	}
}